package com.ruoyi.baoming.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考生信息对象 tb_exam_candidate
 * 
 * @author xiaosong
 * @date 2024-11-20
 */
public class ExamCandidate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 考生ID */
    private Long id;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idNumber;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthDate;

    /** 民族ID */
    @Excel(name = "民族ID")
    private Long ethnicityId;

    /** 政治面貌ID */
    @Excel(name = "政治面貌ID")
    private Long politicalStatusId;

    /** 外语语言ID */
    @Excel(name = "外语语言ID")
    private Long foreignLanguageId;

    /** 专科院校ID */
    @Excel(name = "专科院校ID")
    private Long vocationalCollegeId;

    /** 专科专业ID */
    @Excel(name = "专科专业ID")
    private Long vocationalMajorId;

    /** 考生类型ID */
    @Excel(name = "考生类型ID")
    private Long candidateTypeId;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 通知书邮寄地址 */
    @Excel(name = "通知书邮寄地址")
    private String address;

    /** 是否未获得证书 */
    @Excel(name = "是否未获得证书")
    private String isCertificateIssued;

    /** 通知书收件人 */
    @Excel(name = "通知书收件人")
    private String recipientName;

    /** 邮编 */
    @Excel(name = "邮编")
    private String postalCode;

    /** 考点盟市ID */
    @Excel(name = "考点盟市ID")
    private Long examCenterCityId;

    /** 报考专业ID */
    @Excel(name = "报考专业ID")
    private Long examMajorId;

    /** 志愿院校ID */
    @Excel(name = "志愿院校ID")
    private Long volunteerCollegeId;

    /** 志愿专业ID */
    @Excel(name = "志愿专业ID")
    private Long volunteerMajorId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setBirthDate(Date birthDate) 
    {
        this.birthDate = birthDate;
    }

    public Date getBirthDate() 
    {
        return birthDate;
    }
    public void setEthnicityId(Long ethnicityId) 
    {
        this.ethnicityId = ethnicityId;
    }

    public Long getEthnicityId() 
    {
        return ethnicityId;
    }
    public void setPoliticalStatusId(Long politicalStatusId) 
    {
        this.politicalStatusId = politicalStatusId;
    }

    public Long getPoliticalStatusId() 
    {
        return politicalStatusId;
    }
    public void setForeignLanguageId(Long foreignLanguageId) 
    {
        this.foreignLanguageId = foreignLanguageId;
    }

    public Long getForeignLanguageId() 
    {
        return foreignLanguageId;
    }
    public void setVocationalCollegeId(Long vocationalCollegeId) 
    {
        this.vocationalCollegeId = vocationalCollegeId;
    }

    public Long getVocationalCollegeId() 
    {
        return vocationalCollegeId;
    }
    public void setVocationalMajorId(Long vocationalMajorId) 
    {
        this.vocationalMajorId = vocationalMajorId;
    }

    public Long getVocationalMajorId() 
    {
        return vocationalMajorId;
    }
    public void setCandidateTypeId(Long candidateTypeId) 
    {
        this.candidateTypeId = candidateTypeId;
    }

    public Long getCandidateTypeId() 
    {
        return candidateTypeId;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setIsCertificateIssued(String isCertificateIssued) 
    {
        this.isCertificateIssued = isCertificateIssued;
    }

    public String getIsCertificateIssued() 
    {
        return isCertificateIssued;
    }
    public void setRecipientName(String recipientName) 
    {
        this.recipientName = recipientName;
    }

    public String getRecipientName() 
    {
        return recipientName;
    }
    public void setPostalCode(String postalCode) 
    {
        this.postalCode = postalCode;
    }

    public String getPostalCode() 
    {
        return postalCode;
    }
    public void setExamCenterCityId(Long examCenterCityId) 
    {
        this.examCenterCityId = examCenterCityId;
    }

    public Long getExamCenterCityId() 
    {
        return examCenterCityId;
    }
    public void setExamMajorId(Long examMajorId) 
    {
        this.examMajorId = examMajorId;
    }

    public Long getExamMajorId() 
    {
        return examMajorId;
    }
    public void setVolunteerCollegeId(Long volunteerCollegeId) 
    {
        this.volunteerCollegeId = volunteerCollegeId;
    }

    public Long getVolunteerCollegeId() 
    {
        return volunteerCollegeId;
    }
    public void setVolunteerMajorId(Long volunteerMajorId) 
    {
        this.volunteerMajorId = volunteerMajorId;
    }

    public Long getVolunteerMajorId() 
    {
        return volunteerMajorId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("idNumber", getIdNumber())
            .append("name", getName())
            .append("gender", getGender())
            .append("birthDate", getBirthDate())
            .append("ethnicityId", getEthnicityId())
            .append("politicalStatusId", getPoliticalStatusId())
            .append("foreignLanguageId", getForeignLanguageId())
            .append("vocationalCollegeId", getVocationalCollegeId())
            .append("vocationalMajorId", getVocationalMajorId())
            .append("candidateTypeId", getCandidateTypeId())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("isCertificateIssued", getIsCertificateIssued())
            .append("recipientName", getRecipientName())
            .append("postalCode", getPostalCode())
            .append("examCenterCityId", getExamCenterCityId())
            .append("examMajorId", getExamMajorId())
            .append("volunteerCollegeId", getVolunteerCollegeId())
            .append("volunteerMajorId", getVolunteerMajorId())
            .toString();
    }
}
